<template>
    <h3>表单输入绑定</h3>
    <form>
        <input type="text" v-model.lazy="message">
        <!-- <input type="text" v-model.number="message"> -->
        <div>{{ message }}</div>

        <input type="checkbox" name="checkbox1" id="checkbox" v-model="checked"/>
        <label for="checkbox">{{ checked }}</label>
    </form>
</template>

<script>
export default{
    data () {
        return {
            message:"",
            checked:false
        }
    }
}
</script>